<div class="content-section introduction ">
    <div>
        <span class="feature-title">值班管理<span class="gt">&gt;</span>调班日志  </span>
    </div>
</div>
<div class="content-section implementation GridDemo" id="dutyshift">
    <div class="ui-grid ui-grid-responsive ui-grid-pad ui-fluid">
        <div class="ui-grid-row">
            <div class="">
                <label for="scheduleName">计划名称:</label>
                <input id="scheduleName" type="text" pInputText placeholder="" [(ngModel)]="scheduleName"/>
            </div>
            <div class="">
                <label for="originOperater">原值班人:</label>
                <input id="originOperater" type="text" pInputText placeholder="" [(ngModel)]="originOperater"/>
            </div>
            <div class="">
                <label for="currentOperater">操作人:</label>
                <input id="currentOperater" type="text" pInputText  placeholder="" [(ngModel)]="currentOperater"/>
            </div>
            <div class="">
                <button pButton type="button"  label="查询" (click)="searchSchedule()" ></button>
                <button pButton type="button"  label="清空" (click)="clear()" ></button>
            </div>
        </div>
    </div>
    <p-dataTable [value]="statusOptions" [responsive]="true"  >
        <p-column [style]="{'width':'30px'}"></p-column>
        <p-column field="did" header="计划编号" [sortable]="true"></p-column>
        <p-column field="did_name" header="计划名称" [sortable]="true"></p-column>
        <p-column field="pre_per_name" header="原值班人" [sortable]="true"></p-column>
        <p-column field="cur_per_name" header="现值班人" [sortable]="true"></p-column>
        <p-column field="begin_time_1" header="值班时间" [sortable]="true"></p-column>
        <p-column field="operator_name" header="操作人" [sortable]="true"></p-column>
        <p-column field="operate_time" header="操作时间" [sortable]="true"></p-column>
        <ng-template pTemplate="emptymessage">
            当前没有数据
        </ng-template>
    </p-dataTable>
    <p-paginator rows="10" totalRecords="{{total}}" [rowsPerPageOptions]="[10,20,30]"   (onPageChange)="paginate($event)"></p-paginator>
    <p-growl [(value)]="msgs"></p-growl>
    <p-growl [(value)]="deletemsgs"></p-growl>
</div>
